home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_qt.idb / usr / freeware / catman / p_man / cat3 / qimageconsumer.Z / qimageconsumer
Encoding:
Text File  |  1998-10-28  |  6.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr((((3333qqqqtttt))))TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888))))QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr((((3333qqqqtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       QImageConsumer - An abstraction used by QImageDecoder
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       #include <qasyncimageio.h>
  13.  
  14.     PPPPuuuubbbblllliiiicccc MMMMeeeemmmmbbbbeeeerrrrssss
  15.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd cccchhhhaaaannnnggggeeeedddd (((( ccccoooonnnnsssstttt QQQQRRRReeeecccctttt &&&& ))))
  16.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd eeeennnndddd (((())))
  17.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd ffffrrrraaaammmmeeeeDDDDoooonnnneeee (((())))
  18.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd sssseeeettttLLLLooooooooppppiiiinnnngggg (((( iiiinnnntttt    ))))
  19.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd sssseeeettttFFFFrrrraaaammmmeeeePPPPeeeerrrriiiioooodddd ((((    iiiinnnntttt ))))
  20.       vvvviiiirrrrttttuuuuaaaallll vvvvooooiiiidddd sssseeeettttSSSSiiiizzzzeeee (((( iiiinnnntttt,,,, iiiinnnntttt ))))
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.       An abstraction used by QImageDecoder.
  24.  
  25.       A QImageConsumer consumes information    about changes to the
  26.       QImage maintained by a QImageDecoder.    It represents the a
  27.       view of the image which the decoder produces.
  28.  
  29.       See also: QImageDecoder.
  30.  
  31.      MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDOOOOCCCCUUUUMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  32.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::cccchhhhaaaannnnggggeeeedddd (((( ccccoooonnnnsssstttt QQQQRRRReeeecccctttt    &&&& )))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  33.       Called when the given    area of    the image has changed.
  34.  
  35.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::eeeennnndddd (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  36.       Called when all data of all frames has been decoded and
  37.       revealed as changed().
  38.  
  39.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::ffffrrrraaaammmmeeeeDDDDoooonnnneeee (((()))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  40.       Called when a    frame of an animated image has ended and been
  41.       revealed as changed(). The decoder will not make any further
  42.       changes to the image until the next call to
  43.       QImageFormat::decode().
  44.  
  45.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::sssseeeettttFFFFrrrraaaammmmeeeePPPPeeeerrrriiiioooodddd (((( iiiinnnntttt mmmmiiiilllllllliiiisssseeeeccccoooonnnnddddssss ))))
  46.       [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  47.       Notes    that the frame about to    be decoded should not be
  48.       displayed until the given number of _m_i_l_l_i_s_e_c_o_n_d_s after the
  49.       time that this function is called. Of    course,    the image may
  50.       not have been    decoded    by then, in which case the frame
  51.       should not be    displayed until    it is complete.    A value    of -1
  52.       (the assumed default)    indicates that the image should    be
  53.       diplayed even    while it is only partially loaded.
  54.  
  55.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::sssseeeettttLLLLooooooooppppiiiinnnngggg (((( iiiinnnntttt nnnn )))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  56.       Called to indicate that the sequence of frames in the    image
  57.       should be repeated _n times, including    the sequence during
  58.       decoding.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 9/22/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr((((3333qqqqtttt))))TTTTrrrroooollllllll TTTTeeeecccchhhh AAAASSSS ((((9999 JJJJuuuullllyyyy 1111999999998888))))QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr((((3333qqqqtttt))))
  71.  
  72.  
  73.  
  74.       0 = Forever
  75.  
  76.       1 = Only display frames the first time through
  77.  
  78.       2 = Repeat once after    first pass through images
  79.  
  80.       etc.
  81.  
  82.       To make the QImageDecoder do this just delete    it and pass
  83.       the information to it    again for decoding (setLooping() will
  84.       be called again of course, but that can be ignored), or keep
  85.       copies of the    changed    areas at the ends of frames.
  86.  
  87.      vvvvooooiiiidddd QQQQIIIImmmmaaaaggggeeeeCCCCoooonnnnssssuuuummmmeeeerrrr::::::::sssseeeettttSSSSiiiizzzzeeee (((( iiiinnnntttt,,,, iiiinnnntttt )))) [[[[vvvviiiirrrrttttuuuuaaaallll]]]]
  88.       This function    is called as soon as the size of the image has
  89.       been determined.
  90.  
  91.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  92.       hhhhttttttttpppp::::////////wwwwwwwwwwww....ttttrrrroooollllllll....nnnnoooo////qqqqtttt////qqqqiiiimmmmaaaaggggeeeeccccoooonnnnssssuuuummmmeeeerrrr....hhhhttttmmmmllll
  93.  
  94.      CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
  95.       Copyright 1992-1997 Troll Tech AS.  See the LICENSE file
  96.       included in the distribution for a complete license
  97.       statement.
  98.  
  99.      AAAAUUUUTTTTHHHHOOOORRRR
  100.       Generated automatically from the source code.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 9/22/98)
  130.  
  131.  
  132.  
  133.